package com.second.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.second.client.pojo.entity.ClientLevel;
import com.second.client.pojo.vo.ChangeLevelStatusVo;
import com.second.client.pojo.vo.PageVo;
import com.second.common.pojo.R;

/**
 * (ClientLevel)表服务接口
 *
 * @author makejava
 * @since 2021-07-23 14:52:27
 */
public interface ClientLevelService extends IService<ClientLevel> {

    R getAllLevel(PageVo pageVo, Integer levelId);

    R changePriviledgeComment(ChangeLevelStatusVo changeLevelStatusVo);

    R changePriviledgePromotion(ChangeLevelStatusVo changeLevelStatusVo);

    R changePriviledgeMemberPricen(ChangeLevelStatusVo changeLevelStatusVo);

    R changePriviledgeBirthday(ChangeLevelStatusVo changeLevelStatusVo);

    R deleteLevelById(Integer levelId);

    R updateLevel(ClientLevel clientLevel);

    R getAll();

}
